OpenAI secured $40 billion in a funding round—the largest private raise in history—underscoring surging investor confidence in AI technologies.